import requests


headers = {
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "zh",
    "Connection": "keep-alive",
    "Content-Type": "application/x-www-form-urlencoded",
    "Origin": "https://www.zongheng.com",
    "Referer": "https://www.zongheng.com/books?worksTypes=0&bookType=0&subWorksTypes=0&totalWord=0&serialStatus=9&vip=9",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "same-origin",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
    "sec-ch-ua": "\"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\""
}
cookies = {
    "acw_tc": "2760820217624089755236909e35cb8b2cecc7424013483382f7df3dbf9e0a",
    "zhffr": "www.google.com.hk",
    "sajssdk_2015_cross_new_user": "1",
    "sensorsdata2015jssdkcross": "%7B%22distinct_id%22%3A%2219a57c2e145203-0fc733c6ead1398-26061b51-1638720-19a57c2e14612c2%22%2C%22%24device_id%22%3A%2219a57c2e145203-0fc733c6ead1398-26061b51-1638720-19a57c2e14612c2%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E8%87%AA%E7%84%B6%E6%90%9C%E7%B4%A2%E6%B5%81%E9%87%8F%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fwww.google.com.hk%2F%22%2C%22%24latest_referrer_host%22%3A%22www.google.com.hk%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC%22%7D%7D",
    "ZHID": "1AC28BF78A009FD0FE7B4C3BD7260234",
    "zh_visitTime": "1762408999868",
    "v_user": "https%3A%2F%2Fwww.zongheng.com%2F%7Chttps%3A%2F%2Fhuayu.zongheng.com%2F%7C70693084",
    "Hm_lvt_c202865d524849216eea846069349eb9": "1762409000",
    "HMACCOUNT": "9A0E65D276AEF91B",
    "PassportCaptchaId": "ce34e861b2bf240fcfd3eb97af0d7bc8",
    "Hm_lpvt_c202865d524849216eea846069349eb9": "1762409078"
}
url = "https://www.zongheng.com/api2/catefine/storeSearch"
data = {
    "worksTypes": "0",
    "bookType": "0",
    "subWorksTypes": "0",
    "totalWord": "0",
    "serialStatus": "9",
    "vip": "9",
    "categoryId": "0",
    "categoryPid": "0",
    "naodongFilter": "0"
}
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)